Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Applet Control Functions /


JMGetViewerFrame

Finds the parent frame for a given applet.

OSStatus JMGetViewerFrame (
                     JMAppletViewerRef viewer, 
                     JMFrameRef* frame);
viewer
The applet whose parent frame you want to find.
frame
A pointer to the parent frame. On return, this parameter is the parent frame associated with the applet.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
In the AWT context associated with the applet, the frame index of the parent frame is 0.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997